<!-- 物资点新增 -->

<template>
  <WebForm path="point/add" word5>
    <FormInput label="物资点名称" bind="name" :max="20" required />

    <FormTree :label="`所在${CORE.MAP.REGION}`" bind="areaId, areaName" :dict="CORE.REGION.DICT" required />

    <FormNum label="排序" bind="sort" :min="1" :max="999" initMin noTip half required />

    <FormTextarea label="具体位置" bind="position" required />
  </WebForm>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'PointAdd',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixModal('point/add', 'point_add_')],
}
</script>
